package com.zzld.modules.autoinn.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zzld.core.service.IBaseService;
import com.zzld.modules.autoinn.entity.Coupon;
import com.zzld.modules.common.dto.TreeGrid;


public interface IConponService extends IBaseService<Coupon> {
	
	
	public PageInfo list(Map<String,Object> map,int PageNum,int PageSize);
	
	public List<Coupon> selectbyjuan(Map<String,Object> map);
	
	public List<Coupon> selectbyke(Map<String,Object> map);
	
	public Coupon selectbycolarname(String id);
	
	public List<Coupon> selectbyzhifu(Map<String,Object> map);
	/**
	 * 获取树形网格
	 * 
	 * @return
	 */
	public List<TreeGrid> treeGrid();
	
}
